<template>
  <div>
    <div class="jx">
      <h3>{{ this.$store.state.Homes.text }}</h3>

      <img src="../../../../public/homes/j1.png" alt="" />
      <!-- <div style="font-size: 16px">
        {{this.$store.state.Homes.listobj}}
      </div> -->
      <ul>
        <li v-for="(v, i) in $store.state.Homes.listobj" :key="i">
          <img :src="v.img" alt="" />
          <!-- {{ v.img }} -->
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  // computed: {
  //   sum: function () {
  //     return this.$store.dispatch("LINK_DATA", { url: "/list/listc" });
  //   },
  // },
  mounted() {
    this.$store.dispatch("LINK_DATA", { url: "/list/listc" });
  },
};
</script>

<style lang="less" scoped>
.jx {
  width: 95%;
  height: 3.4rem;
  margin: auto;
  h3 {
    font-size: 20px;
    line-height: 0.5rem;
  }
  img {
    display: block;
    width: 100%;
    height: 1.5rem;
    border-radius: 0.1rem;
  }
  ul {
    margin-top: 0.1rem;
    width: 100%;
    height: 1.2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: space-between;
    li {
      width: 49%;
      border-right: 0.1rem;
      img {
        width: 100%;
        height: 0.55rem;
      }
    }
  }
}
</style>